
Partial Class sitemap
    Inherits System.Web.UI.Page

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim lblCustomTitle As Label = Me.Master.FindControl("lblCustomTitle")
        lblCustomTitle.Text = "Site Map"
        If Not Page.IsPostBack Then
            TreeView1.ExpandDepth = 1
        End If

    End Sub

End Class
